import request from '@/utils/request'
// 获取部门信息
export const getDepartment = () =>
  request({
    url: '/company/department'
  })

// 添加部门
export const addDepartments = (data) =>
  request({
    url: '/company/department',
    method: 'post',
    data
  })
